package com.lwp.test.aoptest.dto;

import java.util.EventObject;

public class OneEvent extends EventObject {

    private String name;
    /**
     * Constructs a prototypical Event.
     *
     * @param source The object on which the Event initially occurred.
     * @throws IllegalArgumentException if source is null.
     */
    public OneEvent(Object source) {
        super(source);
    }

    public String getName() {
        return name;
    }

    public OneEvent setName(String name) {
        this.name = name;
        return this;
    }
}
